#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@file:urls.py
@time:2017/6/26 0026 14:11
"""
from django.conf.urls import url
from .views import addProject,delProject,editProject,projectIndex,createProject
from .views import rollback,onlineIndex,online_upload,get_online_detail
from .installpro import system_install,add_element,del_element,add_task,task_schedu

urlpatterns = [
    url(r'^projectindex/',projectIndex,name='projectindex'),
    url(r'^onlineindex/',onlineIndex,name='onlineindex'),
    url(r'^addproject/',addProject,name='addproject'),
    url(r'^createproject/',createProject,name='createproject'),
    url(r'^delproject/',delProject,name='delproject'),
    url(r'^editproject/',editProject,name='editproject'),
    url(r'^onlineupload/',online_upload,name='onlineupload'),
    url(r'^onlinedetail/',get_online_detail,name='onlinedetail'),
    url(r'^onlinerollback/',rollback,name='onlinerollback'),
    url(r'^install/',system_install,name='install'),
    url(r'^addelement/',add_element,name='addelement'),
    url(r'^delment/',del_element,name='delment'),
    url(r'^addtask/',add_task,name='addtask'),
    url(r'^taskschedu/',task_schedu,name='taskschedu'),

    # url(r'^onlinecode/',online,name='onlinecode'),
    # url(r'^logout/',logout,name='logout'),
    # url(r'^test/',test,name='test'),
]